<template>
  <div>
      <h2>相比较而言,这块知识比较简单,只需要将其他模块的放到modules中即可</h2>
      const store = new Vuex.Store({
        <br/>
        state,
        <br/>
        mutations,
        <br/>
        getters,
         <br/>
        actions,
         <br/>
        modules: {
             <br/>
        moduleA:moduleA,
         <br/>
        moduleB:moduleB,
         <br/>
        modulec:modulec,
         <br/>
  }
  <br/>
  })
  </div>
</template>

<script>
export default {
name: 'VuexModule',
}
</script>

<style lang="css" scoped>
div{
    text-align: center
}
h2{
    margin-bottom: 50px;
}
br{

    margin-top:10px;
}
</style>